package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.coarseAggregate.*;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface CoarseLaboratoryMapper {
    //根据样品编码查询粗骨料含泥量
    @DataSource(DataSourceNames.LABORATORY)
    DataCoarseAggregateHnl findDATA_JGCL_SS_SSHLSZHNLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料含泥量
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSZHNL(DataCoarseAggregateHnl dataCoarseAggregateHnl);

    //修改粗骨料含泥量
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSZHNL(DataCoarseAggregateHnl dataCoarseAggregateHnl);

    //根据样品编码查询粗骨料泥块含量
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSZNKHLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料泥块含量
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSZNKHL(DataCoarseAggregateHnkl dataCoarseAggregateHnkl);

    //修改粗骨料泥块含量
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSZNKHL(DataCoarseAggregateHnkl dataCoarseAggregateHnkl);

    //根据样品编码查询粗骨料针片状含量
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSZZZHPZKLZHLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料针片状含量
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSZZZHPZKLZHL(DataCoarseAggregateZpzklhl dataCoarseAggregateZpzklhl);

    //修改粗骨料针片状含量
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSZZZHPZKLZHL(DataCoarseAggregateZpzklhl dataCoarseAggregateZpzklhl);


    //根据样品编码查询粗骨料筛分析
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSDSFXBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料筛分析
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSDSFX(DataCoarseAggregateKljp dataCoarseAggregateKljp);

    //修改粗骨料筛分析
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSDSFX(DataCoarseAggregateKljp dataCoarseAggregateKljp);


    //根据样品编码查询粗骨料堆积密度
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSDDJMDBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料堆积密度
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSDDJMD(DataCoarseAggregateDjmd dataCoarseAggregateDjmd);

    //修改粗骨料堆积密度
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSDDJMD(DataCoarseAggregateDjmd dataCoarseAggregateDjmd);


    //根据样品编码查询粗骨料紧密密度
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSDJMMDBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料紧密密度
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSDJMMD(DataCoarseAggregateJmmd dataCoarseAggregateJmmd);

    //修改粗骨料紧密密度
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSDJMMD(DataCoarseAggregateJmmd dataCoarseAggregateJmmd);


    //根据样品编码查询粗骨料压碎值指标
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSDYSZZBBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料压碎值指标
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSDYSZZB(DataCoarseAggregateYszzb dataCoarseAggregateYszzb);

    //修改粗骨料压碎值指标
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSDYSZZB(DataCoarseAggregateYszzb dataCoarseAggregateYszzb);

    //根据样品编码查询粗骨料表观密度
    @DataSource(DataSourceNames.LABORATORY)
    Map<String, Object> findDATA_JGCL_SS_SSHLSDBGMD_JYFBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粗骨料表观密度
    @DataSource(DataSourceNames.LABORATORY)
    void addDATA_JGCL_SS_SSHLSDBGMD_JYF(DataCoarseAggregateBgmd dataCoarseAggregateBgmd);

    //修改粗骨料表观密度
    @DataSource(DataSourceNames.LABORATORY)
    void updateDATA_JGCL_SS_SSHLSDBGMD_JYF(DataCoarseAggregateBgmd dataCoarseAggregateBgmd);
}
